package com.example.orderservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.orderservice.pojo.vo.OrderCommentVO;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/12 14:04
 */
public interface OrderCommentService {

    OrderCommentVO add(OrderCommentVO orderCommentVO);

    void writeComment(OrderCommentVO orderCommentVO);

    String getAvgScore(String hotelId);

    Page<OrderCommentVO> getPage(OrderCommentVO orderCommentVO);
}
